import com.dinmax.mediacenter.*

class Info {
	private var _parente:MovieClip;	
	private var _pwInfo:PopWindow;
	
	function Info(parent:MovieClip){
		_parente=parent;
	}
	public function loadInfo(nombre:String, descripcion:String){
		_pwInfo =new PopWindow(545,295,130,78, nombre.toUpperCase()+"\n"+descripcion);
		_pwInfo.setBordes([false, false, false, false]);
		_pwInfo.crear(_parente);
	}
	public function unloadInfo(){
		for(var sNested:String in _pwInfo.getClip()){
			_pwInfo.getClip()[sNested].removeMovieClip();
		};
		_pwInfo.getClip().removeMovieClip();
	}
} // fin clase